
import request from '@/utils/request'

export function getOtherMessage(params) {
    return request.post('/other/get/other', params);
}


export function deleteOther(id) {
    return request.delete(`/other/deleteById/${id}`);
}


/**
 * 根据id来查询其他信息
 */
export function getOtherById(id) {
    return request.get(`/other/getOtherById/${id}`);
}

export function updateOther(otherData) {
    return request.put('/other/update', otherData);
}

export function saveOther(otherData) {
    return request.post('/other/save', otherData);
}


//根据多个id批量查询数据
export function getOtherByids(params) {
    return request.post('/other/getOtherByIds', params, {
    });
}

//批量导出
export function exportOther(params) {
    return request.post('/other/export', params, {
        responseType: 'blob'
    });
}
